Open Cart

6 views
Skip to first unread message

Amanda

unread,
Nov 30, 2009, 8:02:02 PM11/30/09
to PHPSlideShow by zinkwazi.com
Has anyone used the phpSlideShow with Open Cart? I get the first slide
on my website but the next series of slides goes to another page that
is set up in the "traditional" way for phpSlideShow...gray background
and such. I want each slide to stay in middle part of the website.
Here the link to the page I am experimenting with:
http://www.gracefulgardens.com/information/information?information_id=20
Click next and you will see what I mean. I have done all sorts of
changes and moving to the code and it always comes back to this.
Any ideas?
Thanks,
Amanda

BandonRandon

unread,
Dec 1, 2009, 12:32:27 AM12/1/09
to PHPSlideShow by zinkwazi.com
Hey Amanda,

Can you give me more details on your installation of PHPSlideShow? I
visited your site and it looks like (after just a few seconds of
looking at the code, tell me if i'm wrong) that you pulled the code
from template.html of PHPSlideShow into a div of your Open Cart
template. If this is the case that will not work. The problem you're
seeing is that it's loading the first image using the template html
then when the user tries and action (such as going to the next picture
or starting a slideshow) they are directed to the main PHPSlideShow
installation using the default template.

You have a few options, one, run PHPSlideShow inside of an iframe and
customize the template.html to be very basic while still matching your
site layout. Another option would be to try an customize the slideshow
links to go to something like "http://www.gracefulgardens.com/
information/information?information_id=20&directory=.&currentPic=1"
This would also require you to somehow tell your main page to look for
and get the slideshow content. A third option would be to use another
script or flash slideshow (I personally like PHPSlideShow and only
mentioning this so you know you do have the option)

IMHO your best bet may be the Iframe suggestion above.

Brooke

Amanda

unread,
Dec 1, 2009, 10:31:26 AM12/1/09
to PHPSlideShow by zinkwazi.com
Hi Brooke,
I think you are on target that I have put the template.html of the
PHPSlideShow into my open cart template. Since I am new at looking at
all this code (and where the heck it goes), I will take your
suggestions, starting with the iframe option, which makes the most
sense. If I have success, I will post it. Thanks so much!
Amanda
Reply all
Reply to author
Forward
0 new messages